package ru.amse.tsyganov.jumleditor.view;

import org.eclipse.swt.graphics.Color;

import ru.amse.tsyganov.jumleditor.view.preferences.Colors;

public enum Validity {
	NORMAL {
		public Color getColor() {
			return Colors.getBlackColor();
		}
	},
	ERROR {
		public Color getColor() {
			return Colors.getRedColor();
		}
		
		public int getLineWidth() {
			return 2;
		}
	},
	WARNING {
		public Color getColor() {
			return Colors.getOrangeColor();
		}
		
		public int getLineWidth() {
			return 2;
		}
	};
	public abstract Color getColor();
	public int getLineWidth() {
		return 0;
	}
}
